package cn.player.download;

/**
 * CallBack of download status
 */
public interface CallBack {

    void onDownloadStarted(DownloadInfo downloadInfo);

    void onDownloadUpdate(DownloadInfo downloadInfo);

    void onDownloadCompleted(DownloadInfo downloadInfo);

    void onDownloadPaused(DownloadInfo downloadInfo);

    void onDownloadCanceled(DownloadInfo downloadInfo);

    void onDownloadFailed(String err);
}
